package com.kaifamiao.kfm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kaifamiao.kfm.entity.SysMenu;
import com.kaifamiao.kfm.entity.SysUser;
import com.kaifamiao.kfm.entity.TreeMenuDTO;

import java.util.Collection;
import java.util.List;
import java.util.Map;


/**
* @author 10854
* @description 针对表【sys_user(用户信息表)】的数据库操作Service
* @createDate 2022-08-21 11:30:27
*/
public interface SysUserService extends IService<SysUser> {


    Collection<TreeMenuDTO> getMenus(SysUser user);

    Map<String, List> grantData(Long id);
}
